//auto gen by paipai.java.augogen ver 3.0.0
//author skyzhuang
//source idl: com.erp.account.dao.idl.GetBusinessUnitsByFilterResp.java


#ifndef ERP_ACCOUNT_DDO_CBUSINESSUNITSDDO_BY_AUTOGEN_V5_H
#define ERP_ACCOUNT_DDO_CBUSINESSUNITSDDO_BY_AUTOGEN_V5_H


#include "app_platform/intf_serializable.h"
#include <bitset>
#include <string>
#include <sstream>
#include <iostream>


namespace erp
{
namespace account
{
namespace ddo
{


class CBusinessUnitsDdo : public ISerializable
{
	public:
		std::string m_sLastErrMsg;///<错误信息

		/**
		 * 版本号  
		 *
		 * 版本 >= 0
		 */
		uint32_t dwVersion;

		/**
		 * cVersion_u uflag field
		 */
		uint8_t cVersion_u; //optional flag

		/**
		 * 往来单位SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwBusinessUnitsSysNo;

		/**
		 * cBusinessUnitsSysNo_u uflag field
		 */
		uint8_t cBusinessUnitsSysNo_u; //optional flag

		/**
		 * 往来单位类型
		 *
		 * 版本 >= 0
		 */
		uint16_t wBusinessUnitsType;

		/**
		 * cBusinessUnitsType_u uflag field
		 */
		uint8_t cBusinessUnitsType_u; //optional flag

		/**
		 * 编号
		 *
		 * 版本 >= 0
		 */
		std::string strBusinessUnitsID;

		/**
		 * cBusinessUnitsID_u uflag field
		 */
		uint8_t cBusinessUnitsID_u; //optional flag

		/**
		 * 全称
		 *
		 * 版本 >= 0
		 */
		std::string strFullName;

		/**
		 * cFullName_u uflag field
		 */
		uint8_t cFullName_u; //optional flag

		/**
		 * 简称
		 *
		 * 版本 >= 0
		 */
		std::string strName;

		/**
		 * cName_u uflag field
		 */
		uint8_t cName_u; //optional flag

		/**
		 * 拼音码
		 *
		 * 版本 >= 0
		 */
		std::string strPyCode;

		/**
		 * cPyCode_u uflag field
		 */
		uint8_t cPyCode_u; //optional flag

		/**
		 * 建档日期
		 *
		 * 版本 >= 0
		 */
		uint32_t dwCreateDate;

		/**
		 * cCreateDate_u uflag field
		 */
		uint8_t cCreateDate_u; //optional flag

		/**
		 * 付款期限
		 *
		 * 版本 >= 0
		 */
		uint32_t dwPayDueTime;

		/**
		 * cPayDueTime_u uflag field
		 */
		uint8_t cPayDueTime_u; //optional flag

		/**
		 * 扣率
		 *
		 * 版本 >= 0
		 */
		uint32_t dwDiscountRate;

		/**
		 * cDiscountRate_u uflag field
		 */
		uint8_t cDiscountRate_u; //optional flag

		/**
		 * 适用预售/购价格Level
		 *
		 * 版本 >= 0
		 */
		uint16_t wPrePriceLevel;

		/**
		 * cPrePriceLevel_u uflag field
		 */
		uint8_t cPrePriceLevel_u; //optional flag

		/**
		 * 电话
		 *
		 * 版本 >= 0
		 */
		std::string strTelephone;

		/**
		 * cTelephone_u uflag field
		 */
		uint8_t cTelephone_u; //optional flag

		/**
		 * 传真
		 *
		 * 版本 >= 0
		 */
		std::string strFax;

		/**
		 * cFax_u uflag field
		 */
		uint8_t cFax_u; //optional flag

		/**
		 * 电子邮件
		 *
		 * 版本 >= 0
		 */
		std::string strEmail;

		/**
		 * cEmail_u uflag field
		 */
		uint8_t cEmail_u; //optional flag

		/**
		 * 网络地址
		 *
		 * 版本 >= 0
		 */
		std::string strNetAddress;

		/**
		 * cNetAddress_u uflag field
		 */
		uint8_t cNetAddress_u; //optional flag

		/**
		 * 邮编
		 *
		 * 版本 >= 0
		 */
		std::string strZipCode;

		/**
		 * cZipCode_u uflag field
		 */
		uint8_t cZipCode_u; //optional flag

		/**
		 * 地址
		 *
		 * 版本 >= 0
		 */
		std::string strAddress;

		/**
		 * cAddress_u uflag field
		 */
		uint8_t cAddress_u; //optional flag

		/**
		 * 银行账号
		 *
		 * 版本 >= 0
		 */
		std::string strBankAccount;

		/**
		 * cBankAccount_u uflag field
		 */
		uint8_t cBankAccount_u; //optional flag

		/**
		 * 银行户名
		 *
		 * 版本 >= 0
		 */
		std::string strBankAccountName;

		/**
		 * cBankAccountName_u uflag field
		 */
		uint8_t cBankAccountName_u; //optional flag

		/**
		 * 父往来单位SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwParentSysNo;

		/**
		 * cParentSysNo_u uflag field
		 */
		uint8_t cParentSysNo_u; //optional flag

		/**
		 * 结算单位SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwClearingContactUnitSysNo;

		/**
		 * cClearingContactUnitSysNo_u uflag field
		 */
		uint8_t cClearingContactUnitSysNo_u; //optional flag

		/**
		 * 地区SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwAreaSysNo;

		/**
		 * cAreaSysNo_u uflag field
		 */
		uint8_t cAreaSysNo_u; //optional flag

		/**
		 * 职员SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwStaffSysNo;

		/**
		 * cStaffSysNo_u uflag field
		 */
		uint8_t cStaffSysNo_u; //optional flag

		/**
		 * 开户银行
		 *
		 * 版本 >= 0
		 */
		std::string strBankName;

		/**
		 * cBankName_u uflag field
		 */
		uint8_t cBankName_u; //optional flag

		/**
		 * 备注
		 *
		 * 版本 >= 0
		 */
		std::string strComment;

		/**
		 * cComment_u uflag field
		 */
		uint8_t cComment_u; //optional flag

		/**
		 * 联系人SysNos
		 *
		 * 版本 >= 0
		 */
		std::string strContactSysNos;

		/**
		 * cContactSysNos_u uflag field
		 */
		uint8_t cContactSysNos_u; //optional flag

		/**
		 * 往来单位属性,只读
		 *
		 * 版本 >= 0
		 */
		std::bitset<32>  bitsetBusinessUnitsProperty;

		/**
		 * cBusinessUnitsProperty_u uflag field
		 */
		uint8_t cBusinessUnitsProperty_u; //optional flag

		/**
		 * 往来单位属性,设置
		 *
		 * 版本 >= 0
		 */
		std::bitset<32>  bitsetBusinessUnitsPropertyInclude;

		/**
		 * cBusinessUnitsPropertyInclude_u uflag field
		 */
		uint8_t cBusinessUnitsPropertyInclude_u; //optional flag

		/**
		 * 往来单位属性,取消
		 *
		 * 版本 >= 0
		 */
		std::bitset<32>  bitsetBusinessUnitsPropertyExclude;

		/**
		 * cBusinessUnitsPropertyExclude_u uflag field
		 */
		uint8_t cBusinessUnitsPropertyExclude_u; //optional flag

		/**
		 * 往来单位状态
		 *
		 * 版本 >= 0
		 */
		uint32_t dwBusinessUnitsStatus;

		/**
		 * cBusinessUnitsStatus_u uflag field
		 */
		uint8_t cBusinessUnitsStatus_u; //optional flag

		/**
		 * 创建人SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwCreatorSysNo;

		/**
		 * cCreatorSysNo_u uflag field
		 */
		uint8_t cCreatorSysNo_u; //optional flag

		/**
		 * 创建时间
		 *
		 * 版本 >= 0
		 */
		uint32_t dwRowCreatDate;

		/**
		 * cRowCreatDate_u uflag field
		 */
		uint8_t cRowCreatDate_u; //optional flag

		/**
		 * 编辑者SysNo
		 *
		 * 版本 >= 0
		 */
		uint64_t ddwModifierSysNo;

		/**
		 * cModifierSysNo_u uflag field
		 */
		uint8_t cModifierSysNo_u; //optional flag

		/**
		 * 编辑时间
		 *
		 * 版本 >= 0
		 */
		uint32_t dwRowModifyDate;

		/**
		 * cRowModifyDate_u uflag field
		 */
		uint8_t cRowModifyDate_u; //optional flag




	public:
		CBusinessUnitsDdo():
		dwVersion(0),
		cVersion_u(0),
		ddwBusinessUnitsSysNo(0),
		cBusinessUnitsSysNo_u(0),
		wBusinessUnitsType(0),
		cBusinessUnitsType_u(0),
		cBusinessUnitsID_u(0),
		cFullName_u(0),
		cName_u(0),
		cPyCode_u(0),
		dwCreateDate(0),
		cCreateDate_u(0),
		dwPayDueTime(0),
		cPayDueTime_u(0),
		dwDiscountRate(0),
		cDiscountRate_u(0),
		wPrePriceLevel(0),
		cPrePriceLevel_u(0),
		cTelephone_u(0),
		cFax_u(0),
		cEmail_u(0),
		cNetAddress_u(0),
		cZipCode_u(0),
		cAddress_u(0),
		cBankAccount_u(0),
		cBankAccountName_u(0),
		ddwParentSysNo(0),
		cParentSysNo_u(0),
		ddwClearingContactUnitSysNo(0),
		cClearingContactUnitSysNo_u(0),
		ddwAreaSysNo(0),
		cAreaSysNo_u(0),
		ddwStaffSysNo(0),
		cStaffSysNo_u(0),
		cBankName_u(0),
		cComment_u(0),
		cContactSysNos_u(0),
		cBusinessUnitsProperty_u(0),
		cBusinessUnitsPropertyInclude_u(0),
		cBusinessUnitsPropertyExclude_u(0),
		dwBusinessUnitsStatus(0),
		cBusinessUnitsStatus_u(0),
		ddwCreatorSysNo(0),
		cCreatorSysNo_u(0),
		dwRowCreatDate(0),
		cRowCreatDate_u(0),
		ddwModifierSysNo(0),
		cModifierSysNo_u(0),
		dwRowModifyDate(0),
		cRowModifyDate_u(0) {}
				CBusinessUnitsDdo& operator = (const CBusinessUnitsDdo& obj){

			this->dwVersion = obj.dwVersion;
			this->ddwBusinessUnitsSysNo = obj.ddwBusinessUnitsSysNo;
			this->wBusinessUnitsType = obj.wBusinessUnitsType;
			this->strBusinessUnitsID = obj.strBusinessUnitsID;
			this->strFullName = obj.strFullName;
			this->strName = obj.strName;
			this->strPyCode = obj.strPyCode;
			this->dwCreateDate = obj.dwCreateDate;
			this->dwPayDueTime = obj.dwPayDueTime;
			this->dwDiscountRate = obj.dwDiscountRate;
			this->wPrePriceLevel = obj.wPrePriceLevel;
			this->strTelephone = obj.strTelephone;
			this->strFax = obj.strFax;
			this->strEmail = obj.strEmail;
			this->strNetAddress = obj.strNetAddress;
			this->strZipCode = obj.strZipCode;
			this->strAddress = obj.strAddress;
			this->strBankAccount = obj.strBankAccount;
			this->strBankAccountName = obj.strBankAccountName;
			this->ddwParentSysNo = obj.ddwParentSysNo;
			this->ddwClearingContactUnitSysNo = obj.ddwClearingContactUnitSysNo;
			this->ddwAreaSysNo = obj.ddwAreaSysNo;
			this->ddwStaffSysNo = obj.ddwStaffSysNo;
			this->strBankName = obj.strBankName;
			this->strComment = obj.strComment;
			this->strContactSysNos = obj.strContactSysNos;
			this->bitsetBusinessUnitsProperty = obj.bitsetBusinessUnitsProperty;
			this->bitsetBusinessUnitsPropertyInclude = obj.bitsetBusinessUnitsPropertyInclude;
			this->bitsetBusinessUnitsPropertyExclude = obj.bitsetBusinessUnitsPropertyExclude;
			this->dwBusinessUnitsStatus = obj.dwBusinessUnitsStatus;
			this->ddwCreatorSysNo = obj.ddwCreatorSysNo;
			this->dwRowCreatDate = obj.dwRowCreatDate;
			this->ddwModifierSysNo = obj.ddwModifierSysNo;
			this->dwRowModifyDate = obj.dwRowModifyDate;
			this->cVersion_u = obj.cVersion_u;
			this->cBusinessUnitsSysNo_u = obj.cBusinessUnitsSysNo_u;
			this->cBusinessUnitsType_u = obj.cBusinessUnitsType_u;
			this->cBusinessUnitsID_u = obj.cBusinessUnitsID_u;
			this->cFullName_u = obj.cFullName_u;
			this->cName_u = obj.cName_u;
			this->cPyCode_u = obj.cPyCode_u;
			this->cCreateDate_u = obj.cCreateDate_u;
			this->cPayDueTime_u = obj.cPayDueTime_u;
			this->cDiscountRate_u = obj.cDiscountRate_u;
			this->cPrePriceLevel_u = obj.cPrePriceLevel_u;
			this->cTelephone_u = obj.cTelephone_u;
			this->cFax_u = obj.cFax_u;
			this->cEmail_u = obj.cEmail_u;
			this->cNetAddress_u = obj.cNetAddress_u;
			this->cZipCode_u = obj.cZipCode_u;
			this->cAddress_u = obj.cAddress_u;
			this->cBankAccount_u = obj.cBankAccount_u;
			this->cBankAccountName_u = obj.cBankAccountName_u;
			this->cParentSysNo_u = obj.cParentSysNo_u;
			this->cClearingContactUnitSysNo_u = obj.cClearingContactUnitSysNo_u;
			this->cAreaSysNo_u = obj.cAreaSysNo_u;
			this->cStaffSysNo_u = obj.cStaffSysNo_u;
			this->cBankName_u = obj.cBankName_u;
			this->cComment_u = obj.cComment_u;
			this->cContactSysNos_u = obj.cContactSysNos_u;
			this->cBusinessUnitsProperty_u = obj.cBusinessUnitsProperty_u;
			this->cBusinessUnitsPropertyInclude_u = obj.cBusinessUnitsPropertyInclude_u;
			this->cBusinessUnitsPropertyExclude_u = obj.cBusinessUnitsPropertyExclude_u;
			this->cBusinessUnitsStatus_u = obj.cBusinessUnitsStatus_u;
			this->cCreatorSysNo_u = obj.cCreatorSysNo_u;
			this->cRowCreatDate_u = obj.cRowCreatDate_u;
			this->cModifierSysNo_u = obj.cModifierSysNo_u;
			this->cRowModifyDate_u = obj.cRowModifyDate_u;
			return *this;
		}

	public:


		/**
		 * 是否设置版本号  了
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 bool  IsVersionSet() const{
				 return  cVersion_u != 0;
		}


		/**
		 * 获取uflag版本号  了
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 const uint8_t   GetVersionUFlag() const{
				 return  cVersion_u;
		}


		/**
		 * 设置版本号  
		 * 
		 * @param uint32_t:dwVersion
		 *  
		 * 
		 */
		 void  SetVersion( const uint32_t& sVal, uint8_t cUFlag=1){
				dwVersion = sVal;
				cVersion_u = cUFlag;
		}


		/**
		 * 获取版本号  
		 * 
		 * @return dwVersion value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetVersion() const {
				return dwVersion;
		}


		/**
		 * 是否设置往来单位SysNo了
		 * 
		 * @param uint64_t:ddwBusinessUnitsSysNo
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsSysNoSet() const{
				 return  cBusinessUnitsSysNo_u != 0;
		}


		/**
		 * 获取uflag往来单位SysNo了
		 * 
		 * @param uint64_t:ddwBusinessUnitsSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsSysNoUFlag() const{
				 return  cBusinessUnitsSysNo_u;
		}


		/**
		 * 设置往来单位SysNo
		 * 
		 * @param uint64_t:ddwBusinessUnitsSysNo
		 *  
		 * 
		 */
		 void  SetBusinessUnitsSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwBusinessUnitsSysNo = sVal;
				cBusinessUnitsSysNo_u = cUFlag;
		}


		/**
		 * 获取往来单位SysNo
		 * 
		 * @return ddwBusinessUnitsSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetBusinessUnitsSysNo() const {
				return ddwBusinessUnitsSysNo;
		}


		/**
		 * 是否设置往来单位类型了
		 * 
		 * @param uint16_t:wBusinessUnitsType
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsTypeSet() const{
				 return  cBusinessUnitsType_u != 0;
		}


		/**
		 * 获取uflag往来单位类型了
		 * 
		 * @param uint16_t:wBusinessUnitsType
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsTypeUFlag() const{
				 return  cBusinessUnitsType_u;
		}


		/**
		 * 设置往来单位类型
		 * 
		 * @param uint16_t:wBusinessUnitsType
		 *  
		 * 
		 */
		 void  SetBusinessUnitsType( const uint16_t& sVal, uint8_t cUFlag=1){
				wBusinessUnitsType = sVal;
				cBusinessUnitsType_u = cUFlag;
		}


		/**
		 * 获取往来单位类型
		 * 
		 * @return wBusinessUnitsType value 类型为:uint16_t
		 * 
		 */
		 const uint16_t&  GetBusinessUnitsType() const {
				return wBusinessUnitsType;
		}


		/**
		 * 是否设置编号了
		 * 
		 * @param std::string:strBusinessUnitsID
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsIDSet() const{
				 return  cBusinessUnitsID_u != 0;
		}


		/**
		 * 获取uflag编号了
		 * 
		 * @param std::string:strBusinessUnitsID
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsIDUFlag() const{
				 return  cBusinessUnitsID_u;
		}


		/**
		 * 设置编号
		 * 
		 * @param std::string:strBusinessUnitsID
		 *  
		 * 
		 */
		 void  SetBusinessUnitsID( const std::string& sVal, uint8_t cUFlag=1){
				strBusinessUnitsID = sVal;
				cBusinessUnitsID_u = cUFlag;
		}


		/**
		 * 获取编号
		 * 
		 * @return strBusinessUnitsID value 类型为:std::string
		 * 
		 */
		 const std::string&  GetBusinessUnitsID() const {
				return strBusinessUnitsID;
		}


		/**
		 * 获取编号
		 * 
		 * @return strBusinessUnitsID value 类型为:std::string
		 * 
		 */
		 std::string&  GetBusinessUnitsID() {
				return strBusinessUnitsID;
		}


		/**
		 * 是否设置全称了
		 * 
		 * @param std::string:strFullName
		 *  
		 * 
		 */
		 bool  IsFullNameSet() const{
				 return  cFullName_u != 0;
		}


		/**
		 * 获取uflag全称了
		 * 
		 * @param std::string:strFullName
		 *  
		 * 
		 */
		 const uint8_t   GetFullNameUFlag() const{
				 return  cFullName_u;
		}


		/**
		 * 设置全称
		 * 
		 * @param std::string:strFullName
		 *  
		 * 
		 */
		 void  SetFullName( const std::string& sVal, uint8_t cUFlag=1){
				strFullName = sVal;
				cFullName_u = cUFlag;
		}


		/**
		 * 获取全称
		 * 
		 * @return strFullName value 类型为:std::string
		 * 
		 */
		 const std::string&  GetFullName() const {
				return strFullName;
		}


		/**
		 * 获取全称
		 * 
		 * @return strFullName value 类型为:std::string
		 * 
		 */
		 std::string&  GetFullName() {
				return strFullName;
		}


		/**
		 * 是否设置简称了
		 * 
		 * @param std::string:strName
		 *  
		 * 
		 */
		 bool  IsNameSet() const{
				 return  cName_u != 0;
		}


		/**
		 * 获取uflag简称了
		 * 
		 * @param std::string:strName
		 *  
		 * 
		 */
		 const uint8_t   GetNameUFlag() const{
				 return  cName_u;
		}


		/**
		 * 设置简称
		 * 
		 * @param std::string:strName
		 *  
		 * 
		 */
		 void  SetName( const std::string& sVal, uint8_t cUFlag=1){
				strName = sVal;
				cName_u = cUFlag;
		}


		/**
		 * 获取简称
		 * 
		 * @return strName value 类型为:std::string
		 * 
		 */
		 const std::string&  GetName() const {
				return strName;
		}


		/**
		 * 获取简称
		 * 
		 * @return strName value 类型为:std::string
		 * 
		 */
		 std::string&  GetName() {
				return strName;
		}


		/**
		 * 是否设置拼音码了
		 * 
		 * @param std::string:strPyCode
		 *  
		 * 
		 */
		 bool  IsPyCodeSet() const{
				 return  cPyCode_u != 0;
		}


		/**
		 * 获取uflag拼音码了
		 * 
		 * @param std::string:strPyCode
		 *  
		 * 
		 */
		 const uint8_t   GetPyCodeUFlag() const{
				 return  cPyCode_u;
		}


		/**
		 * 设置拼音码
		 * 
		 * @param std::string:strPyCode
		 *  
		 * 
		 */
		 void  SetPyCode( const std::string& sVal, uint8_t cUFlag=1){
				strPyCode = sVal;
				cPyCode_u = cUFlag;
		}


		/**
		 * 获取拼音码
		 * 
		 * @return strPyCode value 类型为:std::string
		 * 
		 */
		 const std::string&  GetPyCode() const {
				return strPyCode;
		}


		/**
		 * 获取拼音码
		 * 
		 * @return strPyCode value 类型为:std::string
		 * 
		 */
		 std::string&  GetPyCode() {
				return strPyCode;
		}


		/**
		 * 是否设置建档日期了
		 * 
		 * @param uint32_t:dwCreateDate
		 *  
		 * 
		 */
		 bool  IsCreateDateSet() const{
				 return  cCreateDate_u != 0;
		}


		/**
		 * 获取uflag建档日期了
		 * 
		 * @param uint32_t:dwCreateDate
		 *  
		 * 
		 */
		 const uint8_t   GetCreateDateUFlag() const{
				 return  cCreateDate_u;
		}


		/**
		 * 设置建档日期
		 * 
		 * @param uint32_t:dwCreateDate
		 *  
		 * 
		 */
		 void  SetCreateDate( const uint32_t& sVal, uint8_t cUFlag=1){
				dwCreateDate = sVal;
				cCreateDate_u = cUFlag;
		}


		/**
		 * 获取建档日期
		 * 
		 * @return dwCreateDate value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetCreateDate() const {
				return dwCreateDate;
		}


		/**
		 * 是否设置付款期限了
		 * 
		 * @param uint32_t:dwPayDueTime
		 *  
		 * 
		 */
		 bool  IsPayDueTimeSet() const{
				 return  cPayDueTime_u != 0;
		}


		/**
		 * 获取uflag付款期限了
		 * 
		 * @param uint32_t:dwPayDueTime
		 *  
		 * 
		 */
		 const uint8_t   GetPayDueTimeUFlag() const{
				 return  cPayDueTime_u;
		}


		/**
		 * 设置付款期限
		 * 
		 * @param uint32_t:dwPayDueTime
		 *  
		 * 
		 */
		 void  SetPayDueTime( const uint32_t& sVal, uint8_t cUFlag=1){
				dwPayDueTime = sVal;
				cPayDueTime_u = cUFlag;
		}


		/**
		 * 获取付款期限
		 * 
		 * @return dwPayDueTime value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetPayDueTime() const {
				return dwPayDueTime;
		}


		/**
		 * 是否设置扣率了
		 * 
		 * @param uint32_t:dwDiscountRate
		 *  
		 * 
		 */
		 bool  IsDiscountRateSet() const{
				 return  cDiscountRate_u != 0;
		}


		/**
		 * 获取uflag扣率了
		 * 
		 * @param uint32_t:dwDiscountRate
		 *  
		 * 
		 */
		 const uint8_t   GetDiscountRateUFlag() const{
				 return  cDiscountRate_u;
		}


		/**
		 * 设置扣率
		 * 
		 * @param uint32_t:dwDiscountRate
		 *  
		 * 
		 */
		 void  SetDiscountRate( const uint32_t& sVal, uint8_t cUFlag=1){
				dwDiscountRate = sVal;
				cDiscountRate_u = cUFlag;
		}


		/**
		 * 获取扣率
		 * 
		 * @return dwDiscountRate value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetDiscountRate() const {
				return dwDiscountRate;
		}


		/**
		 * 是否设置适用预售/购价格Level了
		 * 
		 * @param uint16_t:wPrePriceLevel
		 *  
		 * 
		 */
		 bool  IsPrePriceLevelSet() const{
				 return  cPrePriceLevel_u != 0;
		}


		/**
		 * 获取uflag适用预售/购价格Level了
		 * 
		 * @param uint16_t:wPrePriceLevel
		 *  
		 * 
		 */
		 const uint8_t   GetPrePriceLevelUFlag() const{
				 return  cPrePriceLevel_u;
		}


		/**
		 * 设置适用预售/购价格Level
		 * 
		 * @param uint16_t:wPrePriceLevel
		 *  
		 * 
		 */
		 void  SetPrePriceLevel( const uint16_t& sVal, uint8_t cUFlag=1){
				wPrePriceLevel = sVal;
				cPrePriceLevel_u = cUFlag;
		}


		/**
		 * 获取适用预售/购价格Level
		 * 
		 * @return wPrePriceLevel value 类型为:uint16_t
		 * 
		 */
		 const uint16_t&  GetPrePriceLevel() const {
				return wPrePriceLevel;
		}


		/**
		 * 是否设置电话了
		 * 
		 * @param std::string:strTelephone
		 *  
		 * 
		 */
		 bool  IsTelephoneSet() const{
				 return  cTelephone_u != 0;
		}


		/**
		 * 获取uflag电话了
		 * 
		 * @param std::string:strTelephone
		 *  
		 * 
		 */
		 const uint8_t   GetTelephoneUFlag() const{
				 return  cTelephone_u;
		}


		/**
		 * 设置电话
		 * 
		 * @param std::string:strTelephone
		 *  
		 * 
		 */
		 void  SetTelephone( const std::string& sVal, uint8_t cUFlag=1){
				strTelephone = sVal;
				cTelephone_u = cUFlag;
		}


		/**
		 * 获取电话
		 * 
		 * @return strTelephone value 类型为:std::string
		 * 
		 */
		 const std::string&  GetTelephone() const {
				return strTelephone;
		}


		/**
		 * 获取电话
		 * 
		 * @return strTelephone value 类型为:std::string
		 * 
		 */
		 std::string&  GetTelephone() {
				return strTelephone;
		}


		/**
		 * 是否设置传真了
		 * 
		 * @param std::string:strFax
		 *  
		 * 
		 */
		 bool  IsFaxSet() const{
				 return  cFax_u != 0;
		}


		/**
		 * 获取uflag传真了
		 * 
		 * @param std::string:strFax
		 *  
		 * 
		 */
		 const uint8_t   GetFaxUFlag() const{
				 return  cFax_u;
		}


		/**
		 * 设置传真
		 * 
		 * @param std::string:strFax
		 *  
		 * 
		 */
		 void  SetFax( const std::string& sVal, uint8_t cUFlag=1){
				strFax = sVal;
				cFax_u = cUFlag;
		}


		/**
		 * 获取传真
		 * 
		 * @return strFax value 类型为:std::string
		 * 
		 */
		 const std::string&  GetFax() const {
				return strFax;
		}


		/**
		 * 获取传真
		 * 
		 * @return strFax value 类型为:std::string
		 * 
		 */
		 std::string&  GetFax() {
				return strFax;
		}


		/**
		 * 是否设置电子邮件了
		 * 
		 * @param std::string:strEmail
		 *  
		 * 
		 */
		 bool  IsEmailSet() const{
				 return  cEmail_u != 0;
		}


		/**
		 * 获取uflag电子邮件了
		 * 
		 * @param std::string:strEmail
		 *  
		 * 
		 */
		 const uint8_t   GetEmailUFlag() const{
				 return  cEmail_u;
		}


		/**
		 * 设置电子邮件
		 * 
		 * @param std::string:strEmail
		 *  
		 * 
		 */
		 void  SetEmail( const std::string& sVal, uint8_t cUFlag=1){
				strEmail = sVal;
				cEmail_u = cUFlag;
		}


		/**
		 * 获取电子邮件
		 * 
		 * @return strEmail value 类型为:std::string
		 * 
		 */
		 const std::string&  GetEmail() const {
				return strEmail;
		}


		/**
		 * 获取电子邮件
		 * 
		 * @return strEmail value 类型为:std::string
		 * 
		 */
		 std::string&  GetEmail() {
				return strEmail;
		}


		/**
		 * 是否设置网络地址了
		 * 
		 * @param std::string:strNetAddress
		 *  
		 * 
		 */
		 bool  IsNetAddressSet() const{
				 return  cNetAddress_u != 0;
		}


		/**
		 * 获取uflag网络地址了
		 * 
		 * @param std::string:strNetAddress
		 *  
		 * 
		 */
		 const uint8_t   GetNetAddressUFlag() const{
				 return  cNetAddress_u;
		}


		/**
		 * 设置网络地址
		 * 
		 * @param std::string:strNetAddress
		 *  
		 * 
		 */
		 void  SetNetAddress( const std::string& sVal, uint8_t cUFlag=1){
				strNetAddress = sVal;
				cNetAddress_u = cUFlag;
		}


		/**
		 * 获取网络地址
		 * 
		 * @return strNetAddress value 类型为:std::string
		 * 
		 */
		 const std::string&  GetNetAddress() const {
				return strNetAddress;
		}


		/**
		 * 获取网络地址
		 * 
		 * @return strNetAddress value 类型为:std::string
		 * 
		 */
		 std::string&  GetNetAddress() {
				return strNetAddress;
		}


		/**
		 * 是否设置邮编了
		 * 
		 * @param std::string:strZipCode
		 *  
		 * 
		 */
		 bool  IsZipCodeSet() const{
				 return  cZipCode_u != 0;
		}


		/**
		 * 获取uflag邮编了
		 * 
		 * @param std::string:strZipCode
		 *  
		 * 
		 */
		 const uint8_t   GetZipCodeUFlag() const{
				 return  cZipCode_u;
		}


		/**
		 * 设置邮编
		 * 
		 * @param std::string:strZipCode
		 *  
		 * 
		 */
		 void  SetZipCode( const std::string& sVal, uint8_t cUFlag=1){
				strZipCode = sVal;
				cZipCode_u = cUFlag;
		}


		/**
		 * 获取邮编
		 * 
		 * @return strZipCode value 类型为:std::string
		 * 
		 */
		 const std::string&  GetZipCode() const {
				return strZipCode;
		}


		/**
		 * 获取邮编
		 * 
		 * @return strZipCode value 类型为:std::string
		 * 
		 */
		 std::string&  GetZipCode() {
				return strZipCode;
		}


		/**
		 * 是否设置地址了
		 * 
		 * @param std::string:strAddress
		 *  
		 * 
		 */
		 bool  IsAddressSet() const{
				 return  cAddress_u != 0;
		}


		/**
		 * 获取uflag地址了
		 * 
		 * @param std::string:strAddress
		 *  
		 * 
		 */
		 const uint8_t   GetAddressUFlag() const{
				 return  cAddress_u;
		}


		/**
		 * 设置地址
		 * 
		 * @param std::string:strAddress
		 *  
		 * 
		 */
		 void  SetAddress( const std::string& sVal, uint8_t cUFlag=1){
				strAddress = sVal;
				cAddress_u = cUFlag;
		}


		/**
		 * 获取地址
		 * 
		 * @return strAddress value 类型为:std::string
		 * 
		 */
		 const std::string&  GetAddress() const {
				return strAddress;
		}


		/**
		 * 获取地址
		 * 
		 * @return strAddress value 类型为:std::string
		 * 
		 */
		 std::string&  GetAddress() {
				return strAddress;
		}


		/**
		 * 是否设置银行账号了
		 * 
		 * @param std::string:strBankAccount
		 *  
		 * 
		 */
		 bool  IsBankAccountSet() const{
				 return  cBankAccount_u != 0;
		}


		/**
		 * 获取uflag银行账号了
		 * 
		 * @param std::string:strBankAccount
		 *  
		 * 
		 */
		 const uint8_t   GetBankAccountUFlag() const{
				 return  cBankAccount_u;
		}


		/**
		 * 设置银行账号
		 * 
		 * @param std::string:strBankAccount
		 *  
		 * 
		 */
		 void  SetBankAccount( const std::string& sVal, uint8_t cUFlag=1){
				strBankAccount = sVal;
				cBankAccount_u = cUFlag;
		}


		/**
		 * 获取银行账号
		 * 
		 * @return strBankAccount value 类型为:std::string
		 * 
		 */
		 const std::string&  GetBankAccount() const {
				return strBankAccount;
		}


		/**
		 * 获取银行账号
		 * 
		 * @return strBankAccount value 类型为:std::string
		 * 
		 */
		 std::string&  GetBankAccount() {
				return strBankAccount;
		}


		/**
		 * 是否设置银行户名了
		 * 
		 * @param std::string:strBankAccountName
		 *  
		 * 
		 */
		 bool  IsBankAccountNameSet() const{
				 return  cBankAccountName_u != 0;
		}


		/**
		 * 获取uflag银行户名了
		 * 
		 * @param std::string:strBankAccountName
		 *  
		 * 
		 */
		 const uint8_t   GetBankAccountNameUFlag() const{
				 return  cBankAccountName_u;
		}


		/**
		 * 设置银行户名
		 * 
		 * @param std::string:strBankAccountName
		 *  
		 * 
		 */
		 void  SetBankAccountName( const std::string& sVal, uint8_t cUFlag=1){
				strBankAccountName = sVal;
				cBankAccountName_u = cUFlag;
		}


		/**
		 * 获取银行户名
		 * 
		 * @return strBankAccountName value 类型为:std::string
		 * 
		 */
		 const std::string&  GetBankAccountName() const {
				return strBankAccountName;
		}


		/**
		 * 获取银行户名
		 * 
		 * @return strBankAccountName value 类型为:std::string
		 * 
		 */
		 std::string&  GetBankAccountName() {
				return strBankAccountName;
		}


		/**
		 * 是否设置父往来单位SysNo了
		 * 
		 * @param uint64_t:ddwParentSysNo
		 *  
		 * 
		 */
		 bool  IsParentSysNoSet() const{
				 return  cParentSysNo_u != 0;
		}


		/**
		 * 获取uflag父往来单位SysNo了
		 * 
		 * @param uint64_t:ddwParentSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetParentSysNoUFlag() const{
				 return  cParentSysNo_u;
		}


		/**
		 * 设置父往来单位SysNo
		 * 
		 * @param uint64_t:ddwParentSysNo
		 *  
		 * 
		 */
		 void  SetParentSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwParentSysNo = sVal;
				cParentSysNo_u = cUFlag;
		}


		/**
		 * 获取父往来单位SysNo
		 * 
		 * @return ddwParentSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetParentSysNo() const {
				return ddwParentSysNo;
		}


		/**
		 * 是否设置结算单位SysNo了
		 * 
		 * @param uint64_t:ddwClearingContactUnitSysNo
		 *  
		 * 
		 */
		 bool  IsClearingContactUnitSysNoSet() const{
				 return  cClearingContactUnitSysNo_u != 0;
		}


		/**
		 * 获取uflag结算单位SysNo了
		 * 
		 * @param uint64_t:ddwClearingContactUnitSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetClearingContactUnitSysNoUFlag() const{
				 return  cClearingContactUnitSysNo_u;
		}


		/**
		 * 设置结算单位SysNo
		 * 
		 * @param uint64_t:ddwClearingContactUnitSysNo
		 *  
		 * 
		 */
		 void  SetClearingContactUnitSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwClearingContactUnitSysNo = sVal;
				cClearingContactUnitSysNo_u = cUFlag;
		}


		/**
		 * 获取结算单位SysNo
		 * 
		 * @return ddwClearingContactUnitSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetClearingContactUnitSysNo() const {
				return ddwClearingContactUnitSysNo;
		}


		/**
		 * 是否设置地区SysNo了
		 * 
		 * @param uint64_t:ddwAreaSysNo
		 *  
		 * 
		 */
		 bool  IsAreaSysNoSet() const{
				 return  cAreaSysNo_u != 0;
		}


		/**
		 * 获取uflag地区SysNo了
		 * 
		 * @param uint64_t:ddwAreaSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetAreaSysNoUFlag() const{
				 return  cAreaSysNo_u;
		}


		/**
		 * 设置地区SysNo
		 * 
		 * @param uint64_t:ddwAreaSysNo
		 *  
		 * 
		 */
		 void  SetAreaSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwAreaSysNo = sVal;
				cAreaSysNo_u = cUFlag;
		}


		/**
		 * 获取地区SysNo
		 * 
		 * @return ddwAreaSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetAreaSysNo() const {
				return ddwAreaSysNo;
		}


		/**
		 * 是否设置职员SysNo了
		 * 
		 * @param uint64_t:ddwStaffSysNo
		 *  
		 * 
		 */
		 bool  IsStaffSysNoSet() const{
				 return  cStaffSysNo_u != 0;
		}


		/**
		 * 获取uflag职员SysNo了
		 * 
		 * @param uint64_t:ddwStaffSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetStaffSysNoUFlag() const{
				 return  cStaffSysNo_u;
		}


		/**
		 * 设置职员SysNo
		 * 
		 * @param uint64_t:ddwStaffSysNo
		 *  
		 * 
		 */
		 void  SetStaffSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwStaffSysNo = sVal;
				cStaffSysNo_u = cUFlag;
		}


		/**
		 * 获取职员SysNo
		 * 
		 * @return ddwStaffSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetStaffSysNo() const {
				return ddwStaffSysNo;
		}


		/**
		 * 是否设置开户银行了
		 * 
		 * @param std::string:strBankName
		 *  
		 * 
		 */
		 bool  IsBankNameSet() const{
				 return  cBankName_u != 0;
		}


		/**
		 * 获取uflag开户银行了
		 * 
		 * @param std::string:strBankName
		 *  
		 * 
		 */
		 const uint8_t   GetBankNameUFlag() const{
				 return  cBankName_u;
		}


		/**
		 * 设置开户银行
		 * 
		 * @param std::string:strBankName
		 *  
		 * 
		 */
		 void  SetBankName( const std::string& sVal, uint8_t cUFlag=1){
				strBankName = sVal;
				cBankName_u = cUFlag;
		}


		/**
		 * 获取开户银行
		 * 
		 * @return strBankName value 类型为:std::string
		 * 
		 */
		 const std::string&  GetBankName() const {
				return strBankName;
		}


		/**
		 * 获取开户银行
		 * 
		 * @return strBankName value 类型为:std::string
		 * 
		 */
		 std::string&  GetBankName() {
				return strBankName;
		}


		/**
		 * 是否设置备注了
		 * 
		 * @param std::string:strComment
		 *  
		 * 
		 */
		 bool  IsCommentSet() const{
				 return  cComment_u != 0;
		}


		/**
		 * 获取uflag备注了
		 * 
		 * @param std::string:strComment
		 *  
		 * 
		 */
		 const uint8_t   GetCommentUFlag() const{
				 return  cComment_u;
		}


		/**
		 * 设置备注
		 * 
		 * @param std::string:strComment
		 *  
		 * 
		 */
		 void  SetComment( const std::string& sVal, uint8_t cUFlag=1){
				strComment = sVal;
				cComment_u = cUFlag;
		}


		/**
		 * 获取备注
		 * 
		 * @return strComment value 类型为:std::string
		 * 
		 */
		 const std::string&  GetComment() const {
				return strComment;
		}


		/**
		 * 获取备注
		 * 
		 * @return strComment value 类型为:std::string
		 * 
		 */
		 std::string&  GetComment() {
				return strComment;
		}


		/**
		 * 是否设置联系人SysNos了
		 * 
		 * @param std::string:strContactSysNos
		 *  
		 * 
		 */
		 bool  IsContactSysNosSet() const{
				 return  cContactSysNos_u != 0;
		}


		/**
		 * 获取uflag联系人SysNos了
		 * 
		 * @param std::string:strContactSysNos
		 *  
		 * 
		 */
		 const uint8_t   GetContactSysNosUFlag() const{
				 return  cContactSysNos_u;
		}


		/**
		 * 设置联系人SysNos
		 * 
		 * @param std::string:strContactSysNos
		 *  
		 * 
		 */
		 void  SetContactSysNos( const std::string& sVal, uint8_t cUFlag=1){
				strContactSysNos = sVal;
				cContactSysNos_u = cUFlag;
		}


		/**
		 * 获取联系人SysNos
		 * 
		 * @return strContactSysNos value 类型为:std::string
		 * 
		 */
		 const std::string&  GetContactSysNos() const {
				return strContactSysNos;
		}


		/**
		 * 获取联系人SysNos
		 * 
		 * @return strContactSysNos value 类型为:std::string
		 * 
		 */
		 std::string&  GetContactSysNos() {
				return strContactSysNos;
		}


		/**
		 * 是否设置往来单位属性,只读了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsProperty
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsPropertySet() const{
				 return  cBusinessUnitsProperty_u != 0;
		}


		/**
		 * 获取uflag往来单位属性,只读了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsProperty
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsPropertyUFlag() const{
				 return  cBusinessUnitsProperty_u;
		}


		/**
		 * 设置往来单位属性,只读
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsProperty
		 *  
		 * 
		 */
		 void  SetBusinessUnitsProperty( const std::bitset<32> & sVal, uint8_t cUFlag=1){
				bitsetBusinessUnitsProperty = sVal;
				cBusinessUnitsProperty_u = cUFlag;
		}


		/**
		 * 获取往来单位属性,只读
		 * 
		 * @return bitsetBusinessUnitsProperty value 类型为:std::bitset<32> 
		 * 
		 */
		 const std::bitset<32> &  GetBusinessUnitsProperty() const {
				return bitsetBusinessUnitsProperty;
		}


		/**
		 * 获取往来单位属性,只读
		 * 
		 * @return bitsetBusinessUnitsProperty value 类型为:std::bitset<32> 
		 * 
		 */
		 std::bitset<32> &  GetBusinessUnitsProperty() {
				return bitsetBusinessUnitsProperty;
		}


		/**
		 * 是否设置往来单位属性,设置了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyInclude
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsPropertyIncludeSet() const{
				 return  cBusinessUnitsPropertyInclude_u != 0;
		}


		/**
		 * 获取uflag往来单位属性,设置了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyInclude
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsPropertyIncludeUFlag() const{
				 return  cBusinessUnitsPropertyInclude_u;
		}


		/**
		 * 设置往来单位属性,设置
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyInclude
		 *  
		 * 
		 */
		 void  SetBusinessUnitsPropertyInclude( const std::bitset<32> & sVal, uint8_t cUFlag=1){
				bitsetBusinessUnitsPropertyInclude = sVal;
				cBusinessUnitsPropertyInclude_u = cUFlag;
		}


		/**
		 * 获取往来单位属性,设置
		 * 
		 * @return bitsetBusinessUnitsPropertyInclude value 类型为:std::bitset<32> 
		 * 
		 */
		 const std::bitset<32> &  GetBusinessUnitsPropertyInclude() const {
				return bitsetBusinessUnitsPropertyInclude;
		}


		/**
		 * 获取往来单位属性,设置
		 * 
		 * @return bitsetBusinessUnitsPropertyInclude value 类型为:std::bitset<32> 
		 * 
		 */
		 std::bitset<32> &  GetBusinessUnitsPropertyInclude() {
				return bitsetBusinessUnitsPropertyInclude;
		}


		/**
		 * 是否设置往来单位属性,取消了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyExclude
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsPropertyExcludeSet() const{
				 return  cBusinessUnitsPropertyExclude_u != 0;
		}


		/**
		 * 获取uflag往来单位属性,取消了
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyExclude
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsPropertyExcludeUFlag() const{
				 return  cBusinessUnitsPropertyExclude_u;
		}


		/**
		 * 设置往来单位属性,取消
		 * 
		 * @param std::bitset<32> :bitsetBusinessUnitsPropertyExclude
		 *  
		 * 
		 */
		 void  SetBusinessUnitsPropertyExclude( const std::bitset<32> & sVal, uint8_t cUFlag=1){
				bitsetBusinessUnitsPropertyExclude = sVal;
				cBusinessUnitsPropertyExclude_u = cUFlag;
		}


		/**
		 * 获取往来单位属性,取消
		 * 
		 * @return bitsetBusinessUnitsPropertyExclude value 类型为:std::bitset<32> 
		 * 
		 */
		 const std::bitset<32> &  GetBusinessUnitsPropertyExclude() const {
				return bitsetBusinessUnitsPropertyExclude;
		}


		/**
		 * 获取往来单位属性,取消
		 * 
		 * @return bitsetBusinessUnitsPropertyExclude value 类型为:std::bitset<32> 
		 * 
		 */
		 std::bitset<32> &  GetBusinessUnitsPropertyExclude() {
				return bitsetBusinessUnitsPropertyExclude;
		}


		/**
		 * 是否设置往来单位状态了
		 * 
		 * @param uint32_t:dwBusinessUnitsStatus
		 *  
		 * 
		 */
		 bool  IsBusinessUnitsStatusSet() const{
				 return  cBusinessUnitsStatus_u != 0;
		}


		/**
		 * 获取uflag往来单位状态了
		 * 
		 * @param uint32_t:dwBusinessUnitsStatus
		 *  
		 * 
		 */
		 const uint8_t   GetBusinessUnitsStatusUFlag() const{
				 return  cBusinessUnitsStatus_u;
		}


		/**
		 * 设置往来单位状态
		 * 
		 * @param uint32_t:dwBusinessUnitsStatus
		 *  
		 * 
		 */
		 void  SetBusinessUnitsStatus( const uint32_t& sVal, uint8_t cUFlag=1){
				dwBusinessUnitsStatus = sVal;
				cBusinessUnitsStatus_u = cUFlag;
		}


		/**
		 * 获取往来单位状态
		 * 
		 * @return dwBusinessUnitsStatus value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetBusinessUnitsStatus() const {
				return dwBusinessUnitsStatus;
		}


		/**
		 * 是否设置创建人SysNo了
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 bool  IsCreatorSysNoSet() const{
				 return  cCreatorSysNo_u != 0;
		}


		/**
		 * 获取uflag创建人SysNo了
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetCreatorSysNoUFlag() const{
				 return  cCreatorSysNo_u;
		}


		/**
		 * 设置创建人SysNo
		 * 
		 * @param uint64_t:ddwCreatorSysNo
		 *  
		 * 
		 */
		 void  SetCreatorSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwCreatorSysNo = sVal;
				cCreatorSysNo_u = cUFlag;
		}


		/**
		 * 获取创建人SysNo
		 * 
		 * @return ddwCreatorSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetCreatorSysNo() const {
				return ddwCreatorSysNo;
		}


		/**
		 * 是否设置创建时间了
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 bool  IsRowCreatDateSet() const{
				 return  cRowCreatDate_u != 0;
		}


		/**
		 * 获取uflag创建时间了
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 const uint8_t   GetRowCreatDateUFlag() const{
				 return  cRowCreatDate_u;
		}


		/**
		 * 设置创建时间
		 * 
		 * @param uint32_t:dwRowCreatDate
		 *  
		 * 
		 */
		 void  SetRowCreatDate( const uint32_t& sVal, uint8_t cUFlag=1){
				dwRowCreatDate = sVal;
				cRowCreatDate_u = cUFlag;
		}


		/**
		 * 获取创建时间
		 * 
		 * @return dwRowCreatDate value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetRowCreatDate() const {
				return dwRowCreatDate;
		}


		/**
		 * 是否设置编辑者SysNo了
		 * 
		 * @param uint64_t:ddwModifierSysNo
		 *  
		 * 
		 */
		 bool  IsModifierSysNoSet() const{
				 return  cModifierSysNo_u != 0;
		}


		/**
		 * 获取uflag编辑者SysNo了
		 * 
		 * @param uint64_t:ddwModifierSysNo
		 *  
		 * 
		 */
		 const uint8_t   GetModifierSysNoUFlag() const{
				 return  cModifierSysNo_u;
		}


		/**
		 * 设置编辑者SysNo
		 * 
		 * @param uint64_t:ddwModifierSysNo
		 *  
		 * 
		 */
		 void  SetModifierSysNo( const uint64_t& sVal, uint8_t cUFlag=1){
				ddwModifierSysNo = sVal;
				cModifierSysNo_u = cUFlag;
		}


		/**
		 * 获取编辑者SysNo
		 * 
		 * @return ddwModifierSysNo value 类型为:uint64_t
		 * 
		 */
		 const uint64_t&  GetModifierSysNo() const {
				return ddwModifierSysNo;
		}


		/**
		 * 是否设置编辑时间了
		 * 
		 * @param uint32_t:dwRowModifyDate
		 *  
		 * 
		 */
		 bool  IsRowModifyDateSet() const{
				 return  cRowModifyDate_u != 0;
		}


		/**
		 * 获取uflag编辑时间了
		 * 
		 * @param uint32_t:dwRowModifyDate
		 *  
		 * 
		 */
		 const uint8_t   GetRowModifyDateUFlag() const{
				 return  cRowModifyDate_u;
		}


		/**
		 * 设置编辑时间
		 * 
		 * @param uint32_t:dwRowModifyDate
		 *  
		 * 
		 */
		 void  SetRowModifyDate( const uint32_t& sVal, uint8_t cUFlag=1){
				dwRowModifyDate = sVal;
				cRowModifyDate_u = cUFlag;
		}


		/**
		 * 获取编辑时间
		 * 
		 * @return dwRowModifyDate value 类型为:uint32_t
		 * 
		 */
		 const uint32_t&  GetRowModifyDate() const {
				return dwRowModifyDate;
		}

		virtual bool Serialize(CByteStreamNetwork& bs){
		
			uint32_t dwMyLen = 0;
			if(bs.isStoring()) //for write in buffer
			{
				//can not larger than 1 M.
				CByteStreamNetwork bsDummy(NULL, 1024 * 1024, false);
				//bsDummy for precheck the xo size...
				bsDummy.isStoring(true);
				Serialize_i(bsDummy);
				dwMyLen = bsDummy.getWrittenLength();
				bs & dwMyLen;
				Serialize_i(bs);
			}
			else
			{    //for read from buffer
				bs & dwMyLen;
				uint32_t dwReadedLen = bs.getReadLength();
				Serialize_i(bs);
				dwReadedLen = bs.getReadLength() - dwReadedLen;
				// dwReadedLen for the size of xo
				if( dwReadedLen > dwMyLen ){
					return false;
				}
				//go through the unwanted mem position...
				bs.goForward( dwMyLen - dwReadedLen );
			}

			return bs.isGood();
		}

		bool Serialize_i(CByteStreamNetwork& bsTmp){

			bsTmp & dwVersion; // 序列化版本号   类型为uint32_t
			bsTmp & cVersion_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwBusinessUnitsSysNo; // 序列化往来单位SysNo 类型为uint64_t
			bsTmp & cBusinessUnitsSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & wBusinessUnitsType; // 序列化往来单位类型 类型为uint16_t
			bsTmp & cBusinessUnitsType_u; // 序列化uflag 类型为uint8_t
			bsTmp & strBusinessUnitsID; // 序列化编号 类型为String
			bsTmp & cBusinessUnitsID_u; // 序列化uflag 类型为uint8_t
			bsTmp & strFullName; // 序列化全称 类型为String
			bsTmp & cFullName_u; // 序列化uflag 类型为uint8_t
			bsTmp & strName; // 序列化简称 类型为String
			bsTmp & cName_u; // 序列化uflag 类型为uint8_t
			bsTmp & strPyCode; // 序列化拼音码 类型为String
			bsTmp & cPyCode_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwCreateDate; // 序列化建档日期 类型为uint32_t
			bsTmp & cCreateDate_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwPayDueTime; // 序列化付款期限 类型为uint32_t
			bsTmp & cPayDueTime_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwDiscountRate; // 序列化扣率 类型为uint32_t
			bsTmp & cDiscountRate_u; // 序列化uflag 类型为uint8_t
			bsTmp & wPrePriceLevel; // 序列化适用预售/购价格Level 类型为uint16_t
			bsTmp & cPrePriceLevel_u; // 序列化uflag 类型为uint8_t
			bsTmp & strTelephone; // 序列化电话 类型为String
			bsTmp & cTelephone_u; // 序列化uflag 类型为uint8_t
			bsTmp & strFax; // 序列化传真 类型为String
			bsTmp & cFax_u; // 序列化uflag 类型为uint8_t
			bsTmp & strEmail; // 序列化电子邮件 类型为String
			bsTmp & cEmail_u; // 序列化uflag 类型为uint8_t
			bsTmp & strNetAddress; // 序列化网络地址 类型为String
			bsTmp & cNetAddress_u; // 序列化uflag 类型为uint8_t
			bsTmp & strZipCode; // 序列化邮编 类型为String
			bsTmp & cZipCode_u; // 序列化uflag 类型为uint8_t
			bsTmp & strAddress; // 序列化地址 类型为String
			bsTmp & cAddress_u; // 序列化uflag 类型为uint8_t
			bsTmp & strBankAccount; // 序列化银行账号 类型为String
			bsTmp & cBankAccount_u; // 序列化uflag 类型为uint8_t
			bsTmp & strBankAccountName; // 序列化银行户名 类型为String
			bsTmp & cBankAccountName_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwParentSysNo; // 序列化父往来单位SysNo 类型为uint64_t
			bsTmp & cParentSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwClearingContactUnitSysNo; // 序列化结算单位SysNo 类型为uint64_t
			bsTmp & cClearingContactUnitSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwAreaSysNo; // 序列化地区SysNo 类型为uint64_t
			bsTmp & cAreaSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwStaffSysNo; // 序列化职员SysNo 类型为uint64_t
			bsTmp & cStaffSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & strBankName; // 序列化开户银行 类型为String
			bsTmp & cBankName_u; // 序列化uflag 类型为uint8_t
			bsTmp & strComment; // 序列化备注 类型为String
			bsTmp & cComment_u; // 序列化uflag 类型为uint8_t
			bsTmp & strContactSysNos; // 序列化联系人SysNos 类型为String
			bsTmp & cContactSysNos_u; // 序列化uflag 类型为uint8_t
			bsTmp & bitsetBusinessUnitsProperty; // 序列化往来单位属性,只读 类型为BitSet
			bsTmp & cBusinessUnitsProperty_u; // 序列化uflag 类型为uint8_t
			bsTmp & bitsetBusinessUnitsPropertyInclude; // 序列化往来单位属性,设置 类型为BitSet
			bsTmp & cBusinessUnitsPropertyInclude_u; // 序列化uflag 类型为uint8_t
			bsTmp & bitsetBusinessUnitsPropertyExclude; // 序列化往来单位属性,取消 类型为BitSet
			bsTmp & cBusinessUnitsPropertyExclude_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwBusinessUnitsStatus; // 序列化往来单位状态 类型为uint32_t
			bsTmp & cBusinessUnitsStatus_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwCreatorSysNo; // 序列化创建人SysNo 类型为uint64_t
			bsTmp & cCreatorSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwRowCreatDate; // 序列化创建时间 类型为uint32_t
			bsTmp & cRowCreatDate_u; // 序列化uflag 类型为uint8_t
			bsTmp & ddwModifierSysNo; // 序列化编辑者SysNo 类型为uint64_t
			bsTmp & cModifierSysNo_u; // 序列化uflag 类型为uint8_t
			bsTmp & dwRowModifyDate; // 序列化编辑时间 类型为uint32_t
			bsTmp & cRowModifyDate_u; // 序列化uflag 类型为uint8_t
			return bsTmp.isGood();
		}

		const char* GetLastErrMsg() const{
			return m_sLastErrMsg.c_str();
		}

		bool VerifyBusinessUnitsDdo(){

			if(!IsVersionSet()){
				m_sLastErrMsg = "Miss Param:version";
				return false;
			}

			if(!IsBusinessUnitsSysNoSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsSysNo";
				return false;
			}

			if(!IsBusinessUnitsTypeSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsType";
				return false;
			}

			if(!IsBusinessUnitsIDSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsID";
				return false;
			}

			if(!IsFullNameSet()){
				m_sLastErrMsg = "Miss Param:fullName";
				return false;
			}

			if(!IsNameSet()){
				m_sLastErrMsg = "Miss Param:name";
				return false;
			}

			if(!IsPyCodeSet()){
				m_sLastErrMsg = "Miss Param:pyCode";
				return false;
			}

			if(!IsCreateDateSet()){
				m_sLastErrMsg = "Miss Param:createDate";
				return false;
			}

			if(!IsPayDueTimeSet()){
				m_sLastErrMsg = "Miss Param:payDueTime";
				return false;
			}

			if(!IsDiscountRateSet()){
				m_sLastErrMsg = "Miss Param:discountRate";
				return false;
			}

			if(!IsPrePriceLevelSet()){
				m_sLastErrMsg = "Miss Param:prePriceLevel";
				return false;
			}

			if(!IsTelephoneSet()){
				m_sLastErrMsg = "Miss Param:telephone";
				return false;
			}

			if(!IsFaxSet()){
				m_sLastErrMsg = "Miss Param:fax";
				return false;
			}

			if(!IsEmailSet()){
				m_sLastErrMsg = "Miss Param:email";
				return false;
			}

			if(!IsNetAddressSet()){
				m_sLastErrMsg = "Miss Param:netAddress";
				return false;
			}

			if(!IsZipCodeSet()){
				m_sLastErrMsg = "Miss Param:zipCode";
				return false;
			}

			if(!IsAddressSet()){
				m_sLastErrMsg = "Miss Param:address";
				return false;
			}

			if(!IsBankAccountSet()){
				m_sLastErrMsg = "Miss Param:bankAccount";
				return false;
			}

			if(!IsBankAccountNameSet()){
				m_sLastErrMsg = "Miss Param:bankAccountName";
				return false;
			}

			if(!IsParentSysNoSet()){
				m_sLastErrMsg = "Miss Param:parentSysNo";
				return false;
			}

			if(!IsClearingContactUnitSysNoSet()){
				m_sLastErrMsg = "Miss Param:clearingContactUnitSysNo";
				return false;
			}

			if(!IsAreaSysNoSet()){
				m_sLastErrMsg = "Miss Param:areaSysNo";
				return false;
			}

			if(!IsStaffSysNoSet()){
				m_sLastErrMsg = "Miss Param:staffSysNo";
				return false;
			}

			if(!IsBankNameSet()){
				m_sLastErrMsg = "Miss Param:bankName";
				return false;
			}

			if(!IsCommentSet()){
				m_sLastErrMsg = "Miss Param:comment";
				return false;
			}

			if(!IsContactSysNosSet()){
				m_sLastErrMsg = "Miss Param:contactSysNos";
				return false;
			}

			if(!IsBusinessUnitsPropertySet()){
				m_sLastErrMsg = "Miss Param:businessUnitsProperty";
				return false;
			}

			if(!IsBusinessUnitsPropertyIncludeSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsPropertyInclude";
				return false;
			}

			if(!IsBusinessUnitsPropertyExcludeSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsPropertyExclude";
				return false;
			}

			if(!IsBusinessUnitsStatusSet()){
				m_sLastErrMsg = "Miss Param:businessUnitsStatus";
				return false;
			}

			if(!IsCreatorSysNoSet()){
				m_sLastErrMsg = "Miss Param:creatorSysNo";
				return false;
			}

			if(!IsRowCreatDateSet()){
				m_sLastErrMsg = "Miss Param:rowCreatDate";
				return false;
			}

			if(!IsModifierSysNoSet()){
				m_sLastErrMsg = "Miss Param:modifierSysNo";
				return false;
			}

			if(!IsRowModifyDateSet()){
				m_sLastErrMsg = "Miss Param:rowModifyDate";
				return false;
			}
			return true;
		}

		void DumpData(std::ostream& oss) const{
		
			oss<<"[dwVersion:"<<dwVersion<<"] ";
			oss<<"[cVersion_u:"<<(int)cVersion_u<<"] ";
			oss<<"[ddwBusinessUnitsSysNo:"<<ddwBusinessUnitsSysNo<<"] ";
			oss<<"[cBusinessUnitsSysNo_u:"<<(int)cBusinessUnitsSysNo_u<<"] ";
			oss<<"[wBusinessUnitsType:"<<(int)wBusinessUnitsType<<"] ";
			oss<<"[cBusinessUnitsType_u:"<<(int)cBusinessUnitsType_u<<"] ";
			oss<<"[strBusinessUnitsID:"<<strBusinessUnitsID<<"] ";
			oss<<"[cBusinessUnitsID_u:"<<(int)cBusinessUnitsID_u<<"] ";
			oss<<"[strFullName:"<<strFullName<<"] ";
			oss<<"[cFullName_u:"<<(int)cFullName_u<<"] ";
			oss<<"[strName:"<<strName<<"] ";
			oss<<"[cName_u:"<<(int)cName_u<<"] ";
			oss<<"[strPyCode:"<<strPyCode<<"] ";
			oss<<"[cPyCode_u:"<<(int)cPyCode_u<<"] ";
			oss<<"[dwCreateDate:"<<dwCreateDate<<"] ";
			oss<<"[cCreateDate_u:"<<(int)cCreateDate_u<<"] ";
			oss<<"[dwPayDueTime:"<<dwPayDueTime<<"] ";
			oss<<"[cPayDueTime_u:"<<(int)cPayDueTime_u<<"] ";
			oss<<"[dwDiscountRate:"<<dwDiscountRate<<"] ";
			oss<<"[cDiscountRate_u:"<<(int)cDiscountRate_u<<"] ";
			oss<<"[wPrePriceLevel:"<<(int)wPrePriceLevel<<"] ";
			oss<<"[cPrePriceLevel_u:"<<(int)cPrePriceLevel_u<<"] ";
			oss<<"[strTelephone:"<<strTelephone<<"] ";
			oss<<"[cTelephone_u:"<<(int)cTelephone_u<<"] ";
			oss<<"[strFax:"<<strFax<<"] ";
			oss<<"[cFax_u:"<<(int)cFax_u<<"] ";
			oss<<"[strEmail:"<<strEmail<<"] ";
			oss<<"[cEmail_u:"<<(int)cEmail_u<<"] ";
			oss<<"[strNetAddress:"<<strNetAddress<<"] ";
			oss<<"[cNetAddress_u:"<<(int)cNetAddress_u<<"] ";
			oss<<"[strZipCode:"<<strZipCode<<"] ";
			oss<<"[cZipCode_u:"<<(int)cZipCode_u<<"] ";
			oss<<"[strAddress:"<<strAddress<<"] ";
			oss<<"[cAddress_u:"<<(int)cAddress_u<<"] ";
			oss<<"[strBankAccount:"<<strBankAccount<<"] ";
			oss<<"[cBankAccount_u:"<<(int)cBankAccount_u<<"] ";
			oss<<"[strBankAccountName:"<<strBankAccountName<<"] ";
			oss<<"[cBankAccountName_u:"<<(int)cBankAccountName_u<<"] ";
			oss<<"[ddwParentSysNo:"<<ddwParentSysNo<<"] ";
			oss<<"[cParentSysNo_u:"<<(int)cParentSysNo_u<<"] ";
			oss<<"[ddwClearingContactUnitSysNo:"<<ddwClearingContactUnitSysNo<<"] ";
			oss<<"[cClearingContactUnitSysNo_u:"<<(int)cClearingContactUnitSysNo_u<<"] ";
			oss<<"[ddwAreaSysNo:"<<ddwAreaSysNo<<"] ";
			oss<<"[cAreaSysNo_u:"<<(int)cAreaSysNo_u<<"] ";
			oss<<"[ddwStaffSysNo:"<<ddwStaffSysNo<<"] ";
			oss<<"[cStaffSysNo_u:"<<(int)cStaffSysNo_u<<"] ";
			oss<<"[strBankName:"<<strBankName<<"] ";
			oss<<"[cBankName_u:"<<(int)cBankName_u<<"] ";
			oss<<"[strComment:"<<strComment<<"] ";
			oss<<"[cComment_u:"<<(int)cComment_u<<"] ";
			oss<<"[strContactSysNos:"<<strContactSysNos<<"] ";
			oss<<"[cContactSysNos_u:"<<(int)cContactSysNos_u<<"] ";
		//嵌套内容有错误，建议使用dumpDataTree方法，复杂数据格式更直观！
			oss<<"[cBusinessUnitsProperty_u:"<<(int)cBusinessUnitsProperty_u<<"] ";
		//嵌套内容有错误，建议使用dumpDataTree方法，复杂数据格式更直观！
			oss<<"[cBusinessUnitsPropertyInclude_u:"<<(int)cBusinessUnitsPropertyInclude_u<<"] ";
		//嵌套内容有错误，建议使用dumpDataTree方法，复杂数据格式更直观！
			oss<<"[cBusinessUnitsPropertyExclude_u:"<<(int)cBusinessUnitsPropertyExclude_u<<"] ";
			oss<<"[dwBusinessUnitsStatus:"<<dwBusinessUnitsStatus<<"] ";
			oss<<"[cBusinessUnitsStatus_u:"<<(int)cBusinessUnitsStatus_u<<"] ";
			oss<<"[ddwCreatorSysNo:"<<ddwCreatorSysNo<<"] ";
			oss<<"[cCreatorSysNo_u:"<<(int)cCreatorSysNo_u<<"] ";
			oss<<"[dwRowCreatDate:"<<dwRowCreatDate<<"] ";
			oss<<"[cRowCreatDate_u:"<<(int)cRowCreatDate_u<<"] ";
			oss<<"[ddwModifierSysNo:"<<ddwModifierSysNo<<"] ";
			oss<<"[cModifierSysNo_u:"<<(int)cModifierSysNo_u<<"] ";
			oss<<"[dwRowModifyDate:"<<dwRowModifyDate<<"] ";
			oss<<"[cRowModifyDate_u:"<<(int)cRowModifyDate_u<<"] ";
		
		}

		// codydeng提供,非常好的dump方法 ^-^  。。。。。
		template<typename T>
		T & DumpPlusData(T& oss){
			oss<<"dwVersion:"<<dwVersion;
			oss<<"[cVersion_u:"<<cVersion_u<<"] ";
			oss<<"ddwBusinessUnitsSysNo:"<<ddwBusinessUnitsSysNo;
			oss<<"[cBusinessUnitsSysNo_u:"<<cBusinessUnitsSysNo_u<<"] ";
			oss<<"wBusinessUnitsType:"<<wBusinessUnitsType;
			oss<<"[cBusinessUnitsType_u:"<<cBusinessUnitsType_u<<"] ";
			oss<<"strBusinessUnitsID:"<<strBusinessUnitsID;
			oss<<"[cBusinessUnitsID_u:"<<cBusinessUnitsID_u<<"] ";
			oss<<"strFullName:"<<strFullName;
			oss<<"[cFullName_u:"<<cFullName_u<<"] ";
			oss<<"strName:"<<strName;
			oss<<"[cName_u:"<<cName_u<<"] ";
			oss<<"strPyCode:"<<strPyCode;
			oss<<"[cPyCode_u:"<<cPyCode_u<<"] ";
			oss<<"dwCreateDate:"<<dwCreateDate;
			oss<<"[cCreateDate_u:"<<cCreateDate_u<<"] ";
			oss<<"dwPayDueTime:"<<dwPayDueTime;
			oss<<"[cPayDueTime_u:"<<cPayDueTime_u<<"] ";
			oss<<"dwDiscountRate:"<<dwDiscountRate;
			oss<<"[cDiscountRate_u:"<<cDiscountRate_u<<"] ";
			oss<<"wPrePriceLevel:"<<wPrePriceLevel;
			oss<<"[cPrePriceLevel_u:"<<cPrePriceLevel_u<<"] ";
			oss<<"strTelephone:"<<strTelephone;
			oss<<"[cTelephone_u:"<<cTelephone_u<<"] ";
			oss<<"strFax:"<<strFax;
			oss<<"[cFax_u:"<<cFax_u<<"] ";
			oss<<"strEmail:"<<strEmail;
			oss<<"[cEmail_u:"<<cEmail_u<<"] ";
			oss<<"strNetAddress:"<<strNetAddress;
			oss<<"[cNetAddress_u:"<<cNetAddress_u<<"] ";
			oss<<"strZipCode:"<<strZipCode;
			oss<<"[cZipCode_u:"<<cZipCode_u<<"] ";
			oss<<"strAddress:"<<strAddress;
			oss<<"[cAddress_u:"<<cAddress_u<<"] ";
			oss<<"strBankAccount:"<<strBankAccount;
			oss<<"[cBankAccount_u:"<<cBankAccount_u<<"] ";
			oss<<"strBankAccountName:"<<strBankAccountName;
			oss<<"[cBankAccountName_u:"<<cBankAccountName_u<<"] ";
			oss<<"ddwParentSysNo:"<<ddwParentSysNo;
			oss<<"[cParentSysNo_u:"<<cParentSysNo_u<<"] ";
			oss<<"ddwClearingContactUnitSysNo:"<<ddwClearingContactUnitSysNo;
			oss<<"[cClearingContactUnitSysNo_u:"<<cClearingContactUnitSysNo_u<<"] ";
			oss<<"ddwAreaSysNo:"<<ddwAreaSysNo;
			oss<<"[cAreaSysNo_u:"<<cAreaSysNo_u<<"] ";
			oss<<"ddwStaffSysNo:"<<ddwStaffSysNo;
			oss<<"[cStaffSysNo_u:"<<cStaffSysNo_u<<"] ";
			oss<<"strBankName:"<<strBankName;
			oss<<"[cBankName_u:"<<cBankName_u<<"] ";
			oss<<"strComment:"<<strComment;
			oss<<"[cComment_u:"<<cComment_u<<"] ";
			oss<<"strContactSysNos:"<<strContactSysNos;
			oss<<"[cContactSysNos_u:"<<cContactSysNos_u<<"] ";
			oss<<"bitsetBusinessUnitsProperty:"<<bitsetBusinessUnitsProperty;
			oss<<"[cBusinessUnitsProperty_u:"<<cBusinessUnitsProperty_u<<"] ";
			oss<<"bitsetBusinessUnitsPropertyInclude:"<<bitsetBusinessUnitsPropertyInclude;
			oss<<"[cBusinessUnitsPropertyInclude_u:"<<cBusinessUnitsPropertyInclude_u<<"] ";
			oss<<"bitsetBusinessUnitsPropertyExclude:"<<bitsetBusinessUnitsPropertyExclude;
			oss<<"[cBusinessUnitsPropertyExclude_u:"<<cBusinessUnitsPropertyExclude_u<<"] ";
			oss<<"dwBusinessUnitsStatus:"<<dwBusinessUnitsStatus;
			oss<<"[cBusinessUnitsStatus_u:"<<cBusinessUnitsStatus_u<<"] ";
			oss<<"ddwCreatorSysNo:"<<ddwCreatorSysNo;
			oss<<"[cCreatorSysNo_u:"<<cCreatorSysNo_u<<"] ";
			oss<<"dwRowCreatDate:"<<dwRowCreatDate;
			oss<<"[cRowCreatDate_u:"<<cRowCreatDate_u<<"] ";
			oss<<"ddwModifierSysNo:"<<ddwModifierSysNo;
			oss<<"[cModifierSysNo_u:"<<cModifierSysNo_u<<"] ";
			oss<<"dwRowModifyDate:"<<dwRowModifyDate;
			oss<<"[cRowModifyDate_u:"<<cRowModifyDate_u<<"] ";
			return oss;
		}

		// wileywang提供,树形dump方法 ^-^  。。。。。
		void DumpDataTree(std::ostream& os, int ident = 0)const {
			g_pprint(os, "dwVersion", dwVersion, ident);
			g_pprint(os, "cVersion_u", cVersion_u, ident);
			g_pprint(os, "ddwBusinessUnitsSysNo", ddwBusinessUnitsSysNo, ident);
			g_pprint(os, "cBusinessUnitsSysNo_u", cBusinessUnitsSysNo_u, ident);
			g_pprint(os, "wBusinessUnitsType", wBusinessUnitsType, ident);
			g_pprint(os, "cBusinessUnitsType_u", cBusinessUnitsType_u, ident);
			g_pprint(os, "strBusinessUnitsID", strBusinessUnitsID, ident);
			g_pprint(os, "cBusinessUnitsID_u", cBusinessUnitsID_u, ident);
			g_pprint(os, "strFullName", strFullName, ident);
			g_pprint(os, "cFullName_u", cFullName_u, ident);
			g_pprint(os, "strName", strName, ident);
			g_pprint(os, "cName_u", cName_u, ident);
			g_pprint(os, "strPyCode", strPyCode, ident);
			g_pprint(os, "cPyCode_u", cPyCode_u, ident);
			g_pprint(os, "dwCreateDate", dwCreateDate, ident);
			g_pprint(os, "cCreateDate_u", cCreateDate_u, ident);
			g_pprint(os, "dwPayDueTime", dwPayDueTime, ident);
			g_pprint(os, "cPayDueTime_u", cPayDueTime_u, ident);
			g_pprint(os, "dwDiscountRate", dwDiscountRate, ident);
			g_pprint(os, "cDiscountRate_u", cDiscountRate_u, ident);
			g_pprint(os, "wPrePriceLevel", wPrePriceLevel, ident);
			g_pprint(os, "cPrePriceLevel_u", cPrePriceLevel_u, ident);
			g_pprint(os, "strTelephone", strTelephone, ident);
			g_pprint(os, "cTelephone_u", cTelephone_u, ident);
			g_pprint(os, "strFax", strFax, ident);
			g_pprint(os, "cFax_u", cFax_u, ident);
			g_pprint(os, "strEmail", strEmail, ident);
			g_pprint(os, "cEmail_u", cEmail_u, ident);
			g_pprint(os, "strNetAddress", strNetAddress, ident);
			g_pprint(os, "cNetAddress_u", cNetAddress_u, ident);
			g_pprint(os, "strZipCode", strZipCode, ident);
			g_pprint(os, "cZipCode_u", cZipCode_u, ident);
			g_pprint(os, "strAddress", strAddress, ident);
			g_pprint(os, "cAddress_u", cAddress_u, ident);
			g_pprint(os, "strBankAccount", strBankAccount, ident);
			g_pprint(os, "cBankAccount_u", cBankAccount_u, ident);
			g_pprint(os, "strBankAccountName", strBankAccountName, ident);
			g_pprint(os, "cBankAccountName_u", cBankAccountName_u, ident);
			g_pprint(os, "ddwParentSysNo", ddwParentSysNo, ident);
			g_pprint(os, "cParentSysNo_u", cParentSysNo_u, ident);
			g_pprint(os, "ddwClearingContactUnitSysNo", ddwClearingContactUnitSysNo, ident);
			g_pprint(os, "cClearingContactUnitSysNo_u", cClearingContactUnitSysNo_u, ident);
			g_pprint(os, "ddwAreaSysNo", ddwAreaSysNo, ident);
			g_pprint(os, "cAreaSysNo_u", cAreaSysNo_u, ident);
			g_pprint(os, "ddwStaffSysNo", ddwStaffSysNo, ident);
			g_pprint(os, "cStaffSysNo_u", cStaffSysNo_u, ident);
			g_pprint(os, "strBankName", strBankName, ident);
			g_pprint(os, "cBankName_u", cBankName_u, ident);
			g_pprint(os, "strComment", strComment, ident);
			g_pprint(os, "cComment_u", cComment_u, ident);
			g_pprint(os, "strContactSysNos", strContactSysNos, ident);
			g_pprint(os, "cContactSysNos_u", cContactSysNos_u, ident);
			g_pprint(os, "bitsetBusinessUnitsProperty", bitsetBusinessUnitsProperty, ident);
			g_pprint(os, "cBusinessUnitsProperty_u", cBusinessUnitsProperty_u, ident);
			g_pprint(os, "bitsetBusinessUnitsPropertyInclude", bitsetBusinessUnitsPropertyInclude, ident);
			g_pprint(os, "cBusinessUnitsPropertyInclude_u", cBusinessUnitsPropertyInclude_u, ident);
			g_pprint(os, "bitsetBusinessUnitsPropertyExclude", bitsetBusinessUnitsPropertyExclude, ident);
			g_pprint(os, "cBusinessUnitsPropertyExclude_u", cBusinessUnitsPropertyExclude_u, ident);
			g_pprint(os, "dwBusinessUnitsStatus", dwBusinessUnitsStatus, ident);
			g_pprint(os, "cBusinessUnitsStatus_u", cBusinessUnitsStatus_u, ident);
			g_pprint(os, "ddwCreatorSysNo", ddwCreatorSysNo, ident);
			g_pprint(os, "cCreatorSysNo_u", cCreatorSysNo_u, ident);
			g_pprint(os, "dwRowCreatDate", dwRowCreatDate, ident);
			g_pprint(os, "cRowCreatDate_u", cRowCreatDate_u, ident);
			g_pprint(os, "ddwModifierSysNo", ddwModifierSysNo, ident);
			g_pprint(os, "cModifierSysNo_u", cModifierSysNo_u, ident);
			g_pprint(os, "dwRowModifyDate", dwRowModifyDate, ident);
			g_pprint(os, "cRowModifyDate_u", cRowModifyDate_u, ident);
		}
		
		//提供ToString借口，默认为DumpData格式，请按需要进行修改
		std::string ToString() const{
			std::stringstream ss;
			DumpData(ss);
			return ss.str();
		}

/**
 ********************以下信息是每个版本的字段********************
 */

};

}
}
}

#endif /* ERP_ACCOUNT_DDO_CBUSINESSUNITSDDO_BY_AUTOGEN_V5_H */
